"The miracle is this - the more we share, the more we have." Leonard Nimoy

There's actually a way to share scratch projects on your website or in a folder on a CD or computer without posting them to scratch.mit.edu first. To do it, you need to download the following files to the directory on your website (or a folder on your computer):

After copying these to a folder on your computer, put the .sb file in the same folder. Then, create a .html file with the following contents (or add the applet to existing HTML):

Code:

<body>

<html><applet id="ProjectApplet" style="display:block" code="ScratchApplet" codebase="./" archive="ScratchApplet.jar" height="387" width="482"> <param name="project" value="myscratchday1.sb"> </applet></html>

</body>

</html>

----

When you paste the HTML, edit the testproject.sb with the name of the project you want to view. This will allow you to either view scratch projects offline (in a folder) or online (on a webserver).

You can view an example of this in action here:

Additional methods of embedding Scratch projects are detailed here:

Also, we release new versions of ScratchApplet.jar occasionally for bug fixes. If you're using this a lot, it may be a good idea to stay updated by periodically downloading new versions of ScratchApplet.jar from the website.

These instructions were posted in the Scratch forum, here:

http://scratch.mit.edu/forums/viewtopic.php?id=191&p=1

Portions not contributed by visitors are Copyright 2018 Tangient LLC
TES: The largest network of teachers in the world